package com.xzy.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

/**
 * 通过方法参数获取
 *
 * @author xzy.xiao
 * @date 2023/11/13  20:07
 */
@Slf4j
@RestController
@RequestMapping("/aaa")
public class AaaController {

    @RequestMapping("/test1")
    public void test1(HttpServletRequest httpServletRequest) {
    }

    @RequestMapping("/test2")
    public void test2(HttpServletRequest httpServletRequest) {
    }

    @RequestMapping("/test3")
    public void test3(HttpServletRequest httpServletRequest) {
    }
}
